CODESYS IIOT Libraries SL
The CODESYS IIoT Libraries SL add-on provides numerous libraries for communication in the IIOT environment. Different protocols are supported, such as MQTT and HTTPS. The package also provides tools for encoding and decoding data structures (for example, INI, CSV, JSON, and XML) and function blocks for direct communication with cloud services of individual providers (for example, AWS and Azure).
The following libraries are supplied with the package:
Web Client SL: Communication with a web server via http or https
MQTT Client SL: Support of the MQTT (Message Queuing Telemetry Transport) protocol for the transmission of telemetry data as messages between devices
Mail Service SL: Send, receive, and delete emails by means of SMTP and POP3 protocols.
SNMP Service SL: Support of the following functions: SNMP GET, SNMP GET_NEXT, SNMP Agent, SNMP TRAP, SNMP SET
SNTP Service SL: Build SNTP client and server applications (SNTP V3, SNTP V4).
AWS IoT Core Client SL: Send and receive messages in exchange with Amazon's "AWS IoT Core" cloud platform
Azure IoT Hub Client SL: Function blocks to send and receive messages when connecting IoT devices to Microsoft's "Azure IOT Hub" cloud service.
JSON Web Token SL: Create JWT (JSON Web Token) on the controller. For this purpose, the HS256, HS384, HS512und, and RS256 algorithms are supported.
Web Socket Client SL: Communication via the WebSocket protocol between a client and a Web Socket Server over the Internet.
OpenWeather Client SL: Query weather data via the OpenWeather API.
CSV Utility SL: Read and write CSV files
INI File Utility SL: Read and write INI files
JSON Utilities SL: Create, read, and write complex JSON files (UTF-8, UTF-16); read and write JSON byte arrays and search for keys, values, child, and parent elements
XML Utility SL: Read and write XML files or XML strings on the controller and to search XML elements
Download and licensing
You can download the CODESYS IIoT Libraries SL add-on from the CODESYS Store International and install it via the CODESYS Installer.
The library can be used directly on some controllers, while for other controllers an SL license must be installed on the controller.
You can purchase a license in the CODESYS Store.
Important
CODESYS IIoT Libraries SL includes only the function block libraries. A configurator, as in the case of fieldbus protocols, is not implemented.
Tip
For general information about the contents and uses of the libraries, see the help for the sample projects: Examples CODESYS IIoT Libraries SL